package com.administrator.kotlindemo1

import android.app.Application
import android.content.Context
import kotlin.properties.Delegates

/**
 * Author: jc.lu
 * Date: 2018/1/14.
 */
class MyApplication : Application(){

    companion object {
        private val TAG = "MyApplication"
        var context: Context by Delegates.notNull()
            private set

    }

    override fun onCreate() {
        super.onCreate()
        context = applicationContext
    }
}